package com.tengju.user.infrastructure.persistence.mybatis.mapper.dealer.custom;

import com.tengju.user.infrastructure.persistence.mybatis.dataobject.ClubZoneRelationDO;
import com.tengju.user.infrastructure.persistence.mybatis.dataobject.DominationMemberNoteDO;
import org.apache.ibatis.annotations.Param;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.List;

/**
 * @author chenhang
 * @Date 2021/1/13
 */
public interface DominationMemberNoteMapper {

    void edit(DominationMemberNoteDO dominationMemberNoteDO);

    List<DominationMemberNoteDO> queryBySubordinateId(@Param("subordinateId") Long subordinateId);

    List<DominationMemberNoteDO> queryBySubordinateIds(@Param("subordinateIdList") List<Long> subordinateIdList);

    List<DominationMemberNoteDO> queryByLeaderIdAndSubordinateIds(@Param("leaderId") Long leaderId,@Param("subordinateIdList") List<Long> subordinateIdList);

    DominationMemberNoteDO queryById(@Param("id")Long id);
}
